export default [
    {
        path: '/content',
        name: 'content',
        meta: {
            title: '内容管理',
            icon: 'copy-outlined'
        },
        redirect: '/content/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/content/list',
                name: 'content-list',
                meta: {
                    title: '内容管理',
                    icon: 'copy-outlined',
                    keepAlive: true,
                    
                },
                component: () => import('@/views/content/list.vue'),
            },
            {
                path: '/content/edit',
                name: 'content-edit',
                meta: {
                    title: '编辑广告',
                    toRoute: 'content-list'
                },
                hidden: true,
                component: () => import('@/views/content/edit.vue'),
            },
            {
                path: '/feedback/list',
                name: 'feedback-list',
                meta: {
                    title: '意见反馈',
                    icon: 'exception-outlined',
                    keepAlive: true,
                },
                component: () => import('@/views/content/feedback/list.vue'),
            },
            {
                path: '/feedback/detail',
                name: 'feedback-detail',
                meta: {
                    title: '意见反馈详情',
                    toRoute: 'feedback-list'
                },
                hidden: true,
                component: () => import('@/views/content/feedback/detail.vue'),
            },


        ],
    },
];